package com.ebb;

import android.app.Application;

import com.parse.Parse;
import com.parse.ParseACL;
import com.parse.ParseFacebookUtils;
import com.parse.ParseUser;

public class EBBApplication extends Application {
	@Override
	public void onCreate() {
		super.onCreate();
		parseInitialize();
		parseFacebookInitialize();
        ParseUser.logOut();
	}

    private void parseInitialize() {
        Parse.initialize(this, "45BumK8Dg2gcu0G8F6LgojH8ZtFmXqJk0fKeQ7nB", "22cfJ5hJwijdb4dIGfEkil3vGfehM1wiPKENueWw");

		ParseACL defaultACL = new ParseACL(); 
		ParseACL.setDefaultACL(defaultACL, true);
    }
    
    private void parseFacebookInitialize() {
    	ParseFacebookUtils.initialize("254311288014728");
    }
}